package com.ilxqx.fierce.config;

import com.ilxqx.fierce.core.FierceRequestProcessingSupport;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.convert.ConversionService;

/**
 * 自动配置
 *
 * @author Venus
 * @since 1.0.0
 */
@Configuration
@ComponentScan("com.ilxqx.fierce")
public class FierceFrameworkAutoConfiguration {

    @Bean
    public FierceRequestProcessingSupport fierceRequestProcessingSupport(ConversionService conversionService) {
        return new FierceRequestProcessingSupport(conversionService);
    }
}
